#!/bin/bash

qemu-system-arm -kernel kernel-qemu-4.4.34-jessie \
      -cpu arm1176 \
      -m 256 \
      -M versatilepb \
      -serial stdio \
      -append "root=/dev/sda2 rootfstype=ext4 rw" \
      -drive format=raw,file=pi.img \
      -redir tcp:5022::22 \
      -redir tcp:2333::2333 \
      -no-reboot 1> /dev/null 2>&1 &  